package com.itheima.demo01;

public class Car {
    private String name;
    private int price;
    private String color;

    public void setName(String name){
         this.name=name;
    }
    public String getName(){
        return name;
    }
    public void setPrice(int price){
        this.price=price;
    }
    public int getPrice(){
        return price;
    }

    public String getColor() {
        return color;
    }
    public void setColor(String color){
        this.color=color;
    }


}
